<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Files extends Model
{
    use SoftDeletes;
    protected $dates = ['deleted_at'];
    protected $table = 'files';
    public $timestamps = false;
    protected $fillable = ['product_id','name','url','created_at','updated_at'];
    public function Product()
    {
        return $this->belongsTo('App\Models\Product','product_id');
    }
}
